<!--
 * @Author: your name
 * @Date: 2020-12-23 18:05:05
 * @LastEditTime: 2020-12-23 18:06:08
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \jijian改\modules\error\pages\404.vue
-->
<template>
  <error :src="src" />
</template>

<script>
import Error from '../components/Error'
export default {
  name: '404',
  components: {
    Error,
  },
  data() {
    return {}
  },
  computed: {
    isMobile() {
      return this.$store.state.layout.device === 'mobile'
    },
    src() {
      return this.isMobile
        ? require('@/static/images/error/404.png')
        : require('@/static/images/error/404@2x.png')
    },
  },
}
</script>

<style lang="scss" scoped></style>
